<template>
    <input :value="value" @input="(e)=>$emit('input',e.target.value)" data-input="inp" :placeholder="placeholder"/>
</template>
<script>
export default{
    props:{
        value:{
            type:String
        },
        placeholder:{
            type:String,
            default:"输入内容"
        }
    },
    data() {
        return {
            
        };
    },
    methods:{

    }
}
</script>
<style lang="less" scoped>
    input[data-input='inp']{
        width: 100%;
        height: 50px;
        border:#888 2px solid;
        border-radius: 5px;
        box-sizing: border-box;
        font-size: 16px;
    }
</style>